export default {
  email: {
    config: {
      provider: 'nodemailer',
      providerOptions: {
        // QQ邮箱服务器和默认端口
        host: process.env.SMTP_HOST || 'smtp.qq.com',
        port: parseInt(process.env.SMTP_PORT || '465'),
        auth: {
          // 发送账号和客户端鉴权码
          user: process.env.SMTP_USERNAME || '1361274796@qq.com',
          pass: process.env.SMTP_PASSWORD || 'gxirypzhqabyieec',
        },
        // ... any custom nodemailer options
      },
      settings: {
        // 默认发送账号
        defaultFrom: '1361274796@qq.com',
        // 默认回复账号
        defaultReplyTo: '1361274796@qq.com',
      },
    },
  },
};
